package ginx

import (
	"github.com/gin-gonic/gin"
	"syntax/webook/internal/web/jwt"
)

/*
* Author: JacksonCoder
* CreateTime: 2025/7/27
 */


func WrapReq[T any](fn func(ctx *gin.Context, req T, uc jwt.UserClaims) (Result, error)) gin.HandlerFunc {
	return func(ctx *gin.Context) {
		// 顺便把 userClaims 也取出来
	}
}